package com.dp.appi.service.impl;

import com.dp.appi.dao.ProblemDao;
import com.dp.appi.entity.UserEntity;
import com.dp.appi.service.ProblemService;
import com.dp.appi.service.SysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by chenghao on 2015/9/30.
 */
@Service
public class ProblemServiceImpl implements ProblemService {
    @Autowired
    private ProblemDao problemDao;


    @Override
    public List<Map<String, Object>> getProblem(String orgid) {
       return problemDao.getProblem(orgid);
    }
    @Override
    public List<Map<String, Object>> getProblemTerm(String orgid) {
        return problemDao.getProblemTerm(orgid);
    }

    @Override
    public List<Map<String, Object>> getProblemPhoto(String orgid) {
        return problemDao.getProblemPhoto(orgid);
    }

    @Override
    public List<Map<String, Object>> getproblemExist(String stateid) {
        return problemDao.getproblemExist(stateid);
    }
    @Override
    public List<Map<String, Object>> getproblemExistPhoto(String stateid) {
        return problemDao.getproblemExistPhoto(stateid);
    }
}
